<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>register</title>
</head>
<body>
<h1>注册用户</h1>
<form action="http://localhost:8080/ServletHomework/requestMethods" method="post">
  u:<input type="text" name="username"><br>
  p:<input type="password" name="pwd"><br>
  选择你喜欢的老师:
  <input type="checkbox" name="hobby" value="hsp">韩顺平
  <input type="checkbox" name="hobby" value="sh">宋浩
  <input type="checkbox" name="hobby" value="lyk">李永康<br>
  <input type="submit" value="注册用户">
</form>
</body>
</html>